#include <iostream>
#include <thread>
#include <functional>
using namespace std;

int main() {
    function<void(int)> function1 = [](int x) -> void {
        cout << "x = " << x << endl;
    };


    thread th(function1, 8887);

    th.join();
    return 0;
}
